package com.liang.blog.system.service;

import com.liang.blog.model.BlogDict;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * @Author：YanWenLiang
 * @Date:2023-08-30-19:54
 */
public interface BlogDictService {
    /**
     * 根据编码获取字典信息
     * @param Code
     * @return
     */
    List<BlogDict> getBlogDictByCode(String Code);

    List<BlogDict> findChildData(Long id);

    void exportDict(HttpServletResponse response);

    void importData(MultipartFile file);

    String getDictName(String dictCode, String value);


//    List<Dict> getAll(QueryWrapper queryWrapper);

}
